package com.txr.news.mapper;

import com.txr.news.pojo.entity.ArticleCate;
import com.txr.news.pojo.entity.ArticleCateExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleCateMapper {
    int countByExample(ArticleCateExample example);

    int deleteByExample(ArticleCateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ArticleCate record);

    int insertSelective(ArticleCate record);

    List<ArticleCate> selectByExample(ArticleCateExample example);

    ArticleCate selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ArticleCate record, @Param("example") ArticleCateExample example);

    int updateByExample(@Param("record") ArticleCate record, @Param("example") ArticleCateExample example);

    int updateByPrimaryKeySelective(ArticleCate record);

    int updateByPrimaryKey(ArticleCate record);

  /*  String selectCateNameById(Integer id);*/
}